package cn.iocoder.yudao.module.enterprise.api.report.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Schema(description = "管理后台 - 报告下载 Response DTO")
@Data
public class ReportRespDTO {

    @Schema(description = "报告下载ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "创建者", requiredMode = Schema.RequiredMode.REQUIRED)
    private String creator;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private Date createTime;

    @Schema(description = "文件名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文件名称不能为空")
    private String fileName;

    @Schema(description = "报告URL", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "报告URL不能为空")
    private String reportUrl;

    @Schema(description = "报告类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "报告类型不能为空")
    private Integer type;

}
